package com.boot.system.fegin;

import com.boot.framework.common.R;
import com.boot.system.dto.SysRoleDTO;
import com.boot.system.entity.SysRoleEntity;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.service.annotation.GetExchange;
import org.springframework.web.service.annotation.HttpExchange;
import org.springframework.web.service.annotation.PostExchange;

import java.util.List;

/**
 * @author yangfan
 * @date 2024/5/24
 * @Description
 */
@HttpExchange("/role")
public interface SysRoleClient {
    /**
     * 根据获取角色
     * @param ids
     * @return
     */
    @PostExchange("/list/ids")
    R<List<SysRoleDTO>>  selectByIds(@RequestBody List<String> ids);
}
